<?php
   function createMessageXML ($code, $message)
   {
		$messageXML = '<response>';		
		$messageXML .= "<code>";
		$messageXML .= htmlspecialchars($code, ENT_NOQUOTES, "UTF-8");
		$messageXML .= "</code>";
		$messageXML .= "<message>";
		$messageXML .= htmlspecialchars($message, ENT_NOQUOTES, "UTF-8");
		$messageXML .= "</message>";
		$messageXML .= '</response>';
		return $messageXML;
   }
?>
